package com.njtoyo.taxi.admin.service.business.operation_rule;

import com.njtoyo.taxi.admin.rest.presenter.business.operation_rule.DriverFeeRateInfoPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.operation_rule.DriverFeeRateCreateWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.operation_rule.DriverFeeRateUpdateWrapper;
import com.taxi.entity.common.RestResult;
import com.njtoyo.taxi.entity.backend.AdminUser;

import java.util.List;

public interface DriverFeeRateService {
    RestResult<List<DriverFeeRateInfoPresenter>> all(AdminUser adminUser);
    
    RestResult create(AdminUser adminUser, DriverFeeRateCreateWrapper wrapper);
    
    RestResult update(AdminUser adminUser, Long id, DriverFeeRateUpdateWrapper wrapper);
    
    RestResult delete(AdminUser adminUser, Long id);
}
